﻿/* Tag class. */
var Album = function () {

};

Tag.prototype.DeleteAlbum = function (id) {
    var jsonStr = "{Id:" + id + "}";
    $.ajax({
        type: "POST",
        url: "/Admin/WS/UpdateTag.asmx/DeletePhoto",
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        data: jsonStr,
        success: function (msg) {

            return msg.d;
        },
        error: function () {
            return -1;
        }
    });

};
/* Usage. */
